#include "Process.h"



void ProcessOn()
{
  char buff[N_NUM];
  memset(buff,'\0',sizeof(buff));
  int cnt = 0;
  char* label = "|\\-/";
  while(cnt <=100)
  {
    printf("[%-100s][%d%%][%c]\r",buff,cnt,label[cnt%4]);
    fflush(stdout);
    buff[cnt++] = '#';
    usleep(50000);
  }
  printf("\n");
}
